package com.cr.quartz.domain.vo;

import com.cr.common.constant.HttpStatus;
import lombok.Data;

import java.io.Serializable;

/**
 * 响应信息主体
 */
@Data
public class Res<T> implements Serializable
{
    private static final long serialVersionUID = 1L;

    /** 成功 */
    public static final int SUCCESS = HttpStatus.SUCCESS;

    /** 失败 */
    public static final int FAIL = HttpStatus.ERROR;

    private boolean flag;

    private int code;

    private String msg;

    private RemotePageInfo<T> data;
}
